<?php

class Photo_Plugin_Feed
{
	function addNew($item, $spec)
	{
		$headline = $item -> attachment_count >1? ':poster shared photos:' : ':poster shared photo:';
		
		return strtr($headline, array(':poster' => $item -> getPoster()->toCardhoverLink()));
	}
}
